package cn.yunlang.zhangZhongFei.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import cn.yunlang.zhangZhongFei.entity.Company;
import cn.yunlang.zhangZhongFei.vo.response.R;

/**
 * 公司信息表 服务类
 *
 * @author ·
 * @since 2025-05-27 09:54:49
 */
public interface CompanyService extends IService<Company> {

  R<IPage<Company>> pageCompany(Integer pageNo, Integer pageSize, String companyName);

  R<Company> getOne(Long companyId);

  R<String> addCompany(Company company);

  R<String> deleteCompany(Long companyId);

  R<String> updateCompany(Company company);
}
